package com.dzl.exchange.service.impl;

import com.dzl.base.service.BaseServiceImpl;
import com.dzl.exchange.dao.WelfareExchangeMealMapper;
import com.dzl.exchange.pojo.WelfareExchangeMeal;
import com.dzl.exchange.service.WelfareExchangeMealService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 兑换券组关联套餐表(WelfareExchangeMealGroup)表服务实现类
 * @author caobucao
 * @date 2021-07-09 17:29:29
 */
@Service
public class WelfareExchangeMealServiceImpl extends BaseServiceImpl<WelfareExchangeMeal> implements WelfareExchangeMealService {

    @Autowired
    private WelfareExchangeMealMapper mapper;

    @Override
    public List<WelfareExchangeMeal> selectByIds(List<Integer> idsList) {
        return mapper.selectByIds(idsList);
    }

    @Override
    public Integer deleteByExchangeGroupId(Integer exchangeGroupId) {
        return mapper.deleteByExchangeGroupId(exchangeGroupId);
    }

}
